package com.gshrms.setting.domain;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gshrms.common.annotation.Excel;
import com.gshrms.common.core.domain.CommonEntity;

/**
 * 明细表对象 staff_info_table
 * 
 * @author ruoyi
 * @date 2024-11-13
 */
public class StaffInfoTable extends CommonEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @TableId(type = IdType.AUTO)
    private Long tableId;

    /** 自定义表格名称 */
    @Excel(name = "自定义表格名称")
    private String tableName;

    /** 是否预留 */
    @Excel(name = "是否预留")
    private String reservedStatus;

    /** 组织状态（0正常 1停用） */
    @Excel(name = "组织状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderNum;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 自定义字段信息 */
    @TableField(exist = false)
    private List<StaffInfoField> staffInfoFieldList;



    public void setTableId(Long tableId) 
    {
        this.tableId = tableId;
    }

    public Long getTableId() 
    {
        return tableId;
    }
    public void setTableName(String tableName) 
    {
        this.tableName = tableName;
    }

    public String getTableName() 
    {
        return tableName;
    }
    public void setReservedStatus(String reservedStatus) 
    {
        this.reservedStatus = reservedStatus;
    }

    public String getReservedStatus() 
    {
        return reservedStatus;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<StaffInfoField> getStaffInfoFieldList()
    {
        return staffInfoFieldList;
    }

    public void setStaffInfoFieldList(List<StaffInfoField> staffInfoFieldList)
    {
        this.staffInfoFieldList = staffInfoFieldList;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tableId", getTableId())
            .append("tableName", getTableName())
            .append("reservedStatus", getReservedStatus())
            .append("status", getStatus())
            .append("orderNum", getOrderNum())
            .append("createId", getCreateId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("staffInfoFieldList", getStaffInfoFieldList())
            .toString();
    }
}
